//引入封装的公共的请求插件
import {POST} from "@/services/request"

export default{
  OrderAdd(data={}){
    return POST({
      url:'order/add',
      params: data
    })
  },
  OrderIndex(data={}){
    return POST({
      url:'order/index',
      params: data
    })
  },
  OrderOnlyadd(data={}){
    return POST({
      url:'order/onlyadd',
      params: data
    })
  },
  OrderInfo(data={}){
    return POST({
      url:'order/info',
      params: data
    })
  },
  OrderConfirm(data={}){
    return POST({
      url:'order/confirm',
      params: data
    })
  },
  OrderRate(data={}){
    return POST({
      url:'order/ratesubmit',
      params: data
    })
  },
  OrderRateinfo(data={}){
    return POST({
      url:'order/rateinfo',
      params: data
    })
  },
  OrderExpress(data={}){
    return POST({
      url:'order/express',
      params: data
    })
  },
  OrderRefund(data={}){
    return POST({
      url:'order/refund',
      params: data
    })
  },
  expresslist(data={}){
    return POST({
      url:'order/expresslist',
      params: data
    })
  },
  addresslist(data={}){
    return POST({
      url:'order/addresslist',
      params: data
    })
  },
  OrderRefundgoods(data={}){
    return POST({
      url:'order/refundgoods',
      params: data
    })
  },
}